MongoCollection::find
(PECL mongo >=0.9.0)
MongoCollection::find — Querys this collection
Descripción
public MongoCursor MongoCollection::find
([
array $query= array()
[,
array $fields= array()
]] )
Lista de parámetros
-
query
-
The fields for which to search.
-
fields
-
Fields of the results to return.
Valores retornados
Returns a cursor for the search results.